HTML Quiz

1. What does HTML stand for?

a) Hyper Text Markup Language
b) High Tech Multi Language
c) Hyperlinks and Text Markup Language
d) Home Tool Markup Language

2. Which tag is used to define the title of an HTML document?

a) <header>
b) <title>
c) <h1>
d) <heading>

3. What is the correct HTML tag for inserting a line break?

a) <br>
b) <lb>
c) <break>
d) <newline>

4. Which tag is used to create a hyperlink in HTML?

a) <link>
b) <a>
c) <href>
d) <hyperlink>

5. What does the "href" attribute in the <a> tag define?

a) The source of the image
b) The target of the hyperlink
c) The text of the hyperlink
d) The alignment of the hyperlink

6. Which tag is used to create an unordered list in HTML?

a) <ul>
b) <list>
c) <ol>
d) <unordered>

7. What does HTML use to structure content?

a) Tags
b) Labels
c) Brackets
d) Containers

8. Which tag is used to define the main content of an HTML document?

a) <body>
b) <main>
c) <content>
d) <section>

9. What is the correct HTML for adding an image?

a) <img src="image.jpg" alt="MyImage">
b) <image href="image.jpg" alt="MyImage">
c) <img alt="MyImage">image.jpg</img>
d) <picture src="image.jpg" alt="MyImage">

10. Which tag is used to define a table in HTML?

a) <table>